﻿<%@ Page Language="C#" AutoEventWireup="true" Codebehind="CustEmployeeAdd.aspx.cs"
    Inherits="ITOMMS.Web.UserManage.CustEmployeeAdd" %>

<%@ Register Src="../Control/HeadControl.ascx" TagName="HeadControl" TagPrefix="uc4" %>
<%@ Register Src="../Control/FootControl.ascx" TagName="FootControl" TagPrefix="uc3" %>
<%@ Register Src="../Control/leftMenuControl.ascx" TagName="leftMenuControl" TagPrefix="uc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>客户员工添加</title>
    <link href="../css/layout.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" id='skin' type="text/css" href="../css/skin/qq/ymPrompt.css" />
    <link rel="stylesheet" id='Link1' type="text/css" href="../css/jquery.Validator.Tooltip.css" />

    <script type="text/javascript" src="../js/jquery.pack.js"></script>

    <script type="text/javascript" src="../js/jquery.Validator.js"></script>

    <script type="text/javascript" src="../js/ymPrompt.js"></script>

</head>
<body>
    <form id="form1" runat="server">

        <div id="content1">
                <table class="tblDataArea" width="100%">
                    <tr class="tblQueryArea">
                        <td class="tblDataCaption" colspan="6">
                            <div style="width: 210px;" class="title">
                                <img src="../images/lv3.gif" style="margin-bottom: -3px;" />客户员工添加</div>
                                <asp:Button ID="btnBack" CssClass="cssButton" runat="server" Text="返回" OnClick="btnBack_Click" />
                    </tr>
                    <tr>
                        <td class="tblDataCaption">
                            用户信息</td>
                        <td class="tblDataCaption" colspan="5">
                        </td>
                    </tr>
                    <tr>
                        <td class="tdQueryCaption">
                            所属公司：</td>
                        <td class="tdQueryField">
                            <asp:DropDownList ID="ddlCompanyID" runat="server" Width="158px">
                            </asp:DropDownList><span style="color: Red;">*</span></td>
                        <td class="tdQueryCaption">
                        </td>
                        <td class="tdQueryField">
                        </td>
                        <td class="tdQueryCaption">
                        </td>
                        <td class="tdQueryField">
                        </td>
                    </tr>
                    <tr>
                        <td class="tdQueryCaption">
                            姓名：</td>
                        <td class="tdQueryField">
                            <asp:TextBox ID="txtRealName" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                                onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                                onmouseout="this.className='input_out'"></asp:TextBox><span style="color: Red;">*</span></td>
                        <td class="tdQueryCaption">
                            编号：</td>
                        <td class="tdQueryField">
                            <asp:TextBox ID="txtEmployeeNo" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                                onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                                onmouseout="this.className='input_out'"></asp:TextBox>
                            </td>
                        <td class="tdQueryCaption">
                            昵称：</td>
                        <td class="tdQueryField">
                            <asp:TextBox ID="txtNickname" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                                onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                                onmouseout="this.className='input_out'"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td class="tdQueryCaption">
                            性别：</td>
                        <td class="tdQueryField">
                            <asp:DropDownList ID="ddlSex" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                                onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                                onmouseout="this.className='input_out'" Width="162px">
                                <asp:ListItem Value="1">男</asp:ListItem>
                                <asp:ListItem Value="2">女</asp:ListItem>
                                <asp:ListItem Value="3">保密</asp:ListItem>
                            </asp:DropDownList><span style="color: Red;">*</span></td>
                        <td class="tdQueryCaption">
                            部门：</td>
                        <td class="tdQueryField">
                            <asp:TextBox ID="txtDepartmentID" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                                onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                                onmouseout="this.className='input_out'"></asp:TextBox></td>
                        <td class="tdQueryCaption">
                            职称/职位：</td>
                        <td class="tdQueryField">
                            <asp:TextBox ID="txtjob" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                                onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                                onmouseout="this.className='input_out'"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td class="tdQueryCaption">
                            手机：</td>
                        <td class="tdQueryField">
                            <asp:TextBox ID="txtMobile" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                                onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                                onmouseout="this.className='input_out'"></asp:TextBox></td>
                        <td class="tdQueryCaption">
                            电话：</td>
                        <td class="tdQueryField">
                            <asp:TextBox ID="txtTelphone" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                                onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                                onmouseout="this.className='input_out'"></asp:TextBox></td>
                        <td class="tdQueryCaption">
                            MSN：</td>
                        <td class="tdQueryField">
                            <asp:TextBox ID="txtMsn" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                                onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                                onmouseout="this.className='input_out'"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td class="tdQueryCaption">
                            QQ：</td>
                        <td class="tdQueryField">
                            <asp:TextBox ID="txtQQ" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                                onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                                onmouseout="this.className='input_out'"></asp:TextBox></td>
                        <td class="tdQueryCaption">
                            邮件：</td>
                        <td class="tdQueryField">
                            <asp:TextBox ID="txtEmail" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                                onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                                onmouseout="this.className='input_out'"></asp:TextBox></td>
                        <td class="tdQueryCaption">
                        </td>
                        <td class="tdQueryField">
                        </td>
                    </tr>
                    <tr>
                        <td class="tblDataCaption">
                            用户系统信息</td>
                        <td class="tblDataCaption" colspan="5">
                        </td>
                    </tr>
                    <tr>
                        <td class="tdQueryCaption">
                            计算机用户名：</td>
                        <td class="tdQueryField">
                            <asp:TextBox ID="txtPCUserName" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                                onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                                onmouseout="this.className='input_out'"></asp:TextBox></td>
                        <td class="tdQueryCaption">
                            计算机密码：</td>
                        <td class="tdQueryField">
                            <asp:TextBox ID="txtPCPWD" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                                onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                                onmouseout="this.className='input_out'"></asp:TextBox></td>
                        <td class="tdQueryCaption">
                            计算机名：</td>
                        <td class="tdQueryField">
                            <asp:TextBox ID="txtPCName" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                                onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                                onmouseout="this.className='input_out'"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td class="tdQueryCaption">
                            域名/工作组：</td>
                        <td class="tdQueryField">
                            <asp:TextBox ID="txtWorkGroup" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                                onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                                onmouseout="this.className='input_out'"></asp:TextBox></td>
                        <td class="tdQueryCaption">
                            邮箱名：</td>
                        <td class="tdQueryField">
                            <asp:TextBox ID="txtEmailName" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                                onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                                onmouseout="this.className='input_out'"></asp:TextBox></td>
                        <td class="tdQueryCaption">
                            邮箱密码：</td>
                        <td class="tdQueryField">
                            <asp:TextBox ID="txtEmailPWD" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                                onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                                onmouseout="this.className='input_out'"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td class="tdQueryCaption">
                            BIOS密码：</td>
                        <td class="tdQueryField">
                            <asp:TextBox ID="txtBIOSPWD" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                                onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                                onmouseout="this.className='input_out'"></asp:TextBox></td>
                        <td class="tdQueryCaption">
                            WEB密码：</td>
                        <td class="tdQueryField">
                            <asp:TextBox ID="txtWebPWD" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                                onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                                onmouseout="this.className='input_out'"></asp:TextBox></td>
                        <td class="tdQueryCaption">
                            IP地址：</td>
                        <td class="tdQueryField">
                            <asp:TextBox ID="txtIPAddr" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                                onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                                onmouseout="this.className='input_out'"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td class="tdQueryCaption">
                            子网掩码：</td>
                        <td class="tdQueryField">
                            <asp:TextBox ID="txtSubnetMask" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                                onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                                onmouseout="this.className='input_out'"></asp:TextBox></td>
                        <td class="tdQueryCaption">
                            默认网关：</td>
                        <td class="tdQueryField">
                            <asp:TextBox ID="txtDefaultGateway" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                                onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                                onmouseout="this.className='input_out'"></asp:TextBox></td>
                        <td class="tdQueryCaption">
                            DNS1：</td>
                        <td class="tdQueryField">
                            <asp:TextBox ID="txtDNS1" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                                onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                                onmouseout="this.className='input_out'"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td class="tdQueryCaption">
                            DNS2：</td>
                        <td class="tdQueryField">
                            <asp:TextBox ID="txtDNS2" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                                onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                                onmouseout="this.className='input_out'"></asp:TextBox></td>
                        <td class="tdQueryCaption">
                            MAC地址：</td>
                        <td class="tdQueryField">
                            <asp:TextBox ID="txtMACAddr" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                                onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                                onmouseout="this.className='input_out'"></asp:TextBox></td>
                        <td class="tdQueryCaption">
                            WEB上网：</td>
                        <td class="tdQueryField">
                            <asp:RadioButton ID="rdbWebNetOpen" runat="server" GroupName="WebNetIsOpen" Text="开启" />
                            <asp:RadioButton ID="rdbWebNetClose" runat="server" GroupName="WebNetIsOpen" Text="关闭" /></td>
                    </tr>
                    <tr>
                        <td class="tdQueryCaption">
                            USB口：</td>
                        <td class="tdQueryField">
                            <asp:RadioButton ID="rdbUSBOpen" runat="server" GroupName="USBIsOpen" Text="开启" /><asp:RadioButton
                                ID="rdbUSBClose" runat="server" GroupName="USBIsOpen" Text="关闭" /></td>
                        <td class="tdQueryCaption">
                            QQ：</td>
                        <td class="tdQueryField">
                            <asp:RadioButton ID="rdbQQOpen" runat="server" GroupName="QQIsOpen" Text="开启" /><asp:RadioButton
                                ID="rdbQQIsClose" runat="server" GroupName="QQIsOpen" Text="关闭" /></td>
                        <td class="tdQueryCaption">
                            MSN：</td>
                        <td class="tdQueryField">
                            <asp:RadioButton ID="rdbMsnOpen" runat="server" GroupName="MsnIsOpen" Text="开启" /><asp:RadioButton
                                ID="rdbMsnClose" runat="server" GroupName="MsnIsOpen" Text="关闭" /></td>
                    </tr>
                    <tr>
                        <td class="tdQueryCaption">
                            备注：</td>
                        <td class="tdQueryField" colspan="5">
                            <asp:TextBox ID="txtremarks" runat="server" class="input_out" Height="61px" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                                onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                                onmouseout="this.className='input_out'" TextMode="MultiLine" Width="610px"></asp:TextBox></td>
                    </tr>
                    <tr class="tblQueryArea">
                        <td class="tblDataCaption" colspan="6" style="text-align: center; height: 31px;">
                            <asp:Button ID="btnSave" runat="server" CssClass="cssButton" Text="保存" OnClientClick="javascript:return confirm('你确认要提交吗?');"
                                OnClick="btnSave_Click" /></td>
                    </tr>
                </table>
            </div>

    </form>
</body>
</html>

<script type="text/javascript">

function check()
{
	if($.GetValidResult())/*验证表单*/
	{	
	    return true; 
	}
	else
	{
	    return false;
	}
}

    $("#txtRealName").attr("dataType","Require");
    $("#txtRealName").attr("tip", "姓名不能为空");

    
    $("#ddlCompanyID").attr("dataType","OverEqualsZero");
    $("#ddlCompanyID").attr("tip", "所属公司必要选取");

                
</script>

